#include "mystdio.h"
#include <stdio.h>
#include <string.h>
int main()
{
    myFILE *fp = my_fopen("./log.txt","w");
    if(fp == NULL)
    {
        perror("my_fopen");
        return 1;
    }
    const char* msg = "this is my stdio lib\n";
    my_fwrite(msg, strlen(msg), fp);
    my_fclose(fp);
    return 0;
}
